package com.hz.lowb.nami.base.dao;

import com.hz.lowb.nami.base.dto.WebSite;
import org.apache.ibatis.annotations.Param;

/**
 * Created by tfw2302 on 2017/1/5.
 */
public interface WebSiteDao {

    Long getIdByUrl(@Param("url") String webSiteUrl);

//    WebSiteDao getByUrl(@Param("url") String webSiteUrl);

    int countByUrl(@Param("url") String webSiteUrl);

    boolean updateWebSiteContentIdById(@Param("webSiteContentId") Long webSiteContentId, @Param("webSiteId") Long webSiteId);

    int save(WebSite webSite);

}
